/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : main.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2025 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_hal.h"

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);

/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

/* Private defines -----------------------------------------------------------*/
#define LED_TP_DIN_Pin GPIO_PIN_2
#define LED_TP_DIN_GPIO_Port GPIOE
#define LCD_TP_DOUT_Pin GPIO_PIN_3
#define LCD_TP_DOUT_GPIO_Port GPIOE
#define LCD_PENIRQ_Pin GPIO_PIN_4
#define LCD_PENIRQ_GPIO_Port GPIOE
#define LED_BL_Pin GPIO_PIN_12
#define LED_BL_GPIO_Port GPIOD
#define LED_TP_CS_Pin GPIO_PIN_13
#define LED_TP_CS_GPIO_Port GPIOD
#define jixiebi_Pin GPIO_PIN_9
#define jixiebi_GPIO_Port GPIOC
#define LCD_TP_CLK_Pin GPIO_PIN_0
#define LCD_TP_CLK_GPIO_Port GPIOE
#define LCD_CS_Pin GPIO_PIN_1
#define LCD_CS_GPIO_Port GPIOE

/* USER CODE BEGIN Private defines */


#include<stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>

  //cudemx自动生成
#include "cmsis_os.h"
#include "task.h"
#include "semphr.h"
#include "queue.h"
#include "projdefs.h"

#include "usart.h"
#include "gpio.h"
#include "fsmc.h"

//驱动层相关头文件
#include "bsp_ats.h"
#include "bsp_ili9341_lcd.h"
#include "fonts.h"
#include "Servos.h"
#include "openmv.h"
#include "Task_received.h"
#include "tim_s.h"


/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */
